set_location_assignment PIN_R9 -to clk_in
set_location_assignment PIN_M1 -to rst_n_top

#*****************RX-TX*******************#
set_location_assignment PIN_T8 -to rxd_ul
set_location_assignment PIN_L1 -to txd_ul


#***************Debug*********************#
set_location_assignment PIN_J1 -to led0
set_location_assignment PIN_J2 -to led1
set_location_assignment PIN_K1 -to led2 
set_location_assignment PIN_K2 -to led3


#****************man_i*************#

#set_location_assignment	PIN_K10 -to man_i[0]
#set_location_assignment	PIN_D14 -to man_i[1]
#set_location_assignment	PIN_D12 -to man_i[2]
#set_location_assignment	PIN_E10 -to man_i[3]
#set_location_assignment	PIN_E9 -to man_i[4]
#set_location_assignment	PIN_D8 -to man_i[5]
#set_location_assignment	PIN_E6 -to man_i[6]
#set_location_assignment	PIN_F3 -to man_i[7]


#***************125K_out***************#

#set_location_assignment	PIN_J14 -to clk_125k_o[0]
#set_location_assignment	PIN_K9  -to clk_125k_o[1]
#set_location_assignment	PIN_F13 -to clk_125k_o[2]
#set_location_assignment	PIN_E11 -to clk_125k_o[3]
#set_location_assignment	PIN_C9  -to clk_125k_o[4]
#set_location_assignment	PIN_E8  -to clk_125k_o[5]
#set_location_assignment	PIN_C6  -to clk_125k_o[6]
#set_location_assignment	PIN_D3  -to clk_125k_o[7]




#*********************SRAM**********************#

set_location_assignment	PIN_L16 -to n_sram_we
set_location_assignment	PIN_L11 -to n_sram_ce
set_location_assignment	PIN_R13 -to n_sram_oe
set_location_assignment	PIN_R12 -to n_sram_lb
set_location_assignment	PIN_T13 -to n_sram_ub

set_location_assignment	PIN_L9	-to sram_ctrl_addr[0]
set_location_assignment	PIN_P14	-to sram_ctrl_addr[1]
set_location_assignment	PIN_N12	-to sram_ctrl_addr[2]
set_location_assignment	PIN_N14	-to sram_ctrl_addr[3]
set_location_assignment	PIN_M11	-to sram_ctrl_addr[4]
set_location_assignment	PIN_L15	-to sram_ctrl_addr[5]
set_location_assignment	PIN_K16	-to sram_ctrl_addr[6]
set_location_assignment	PIN_K15	-to sram_ctrl_addr[7]
set_location_assignment	PIN_J16	-to sram_ctrl_addr[8]
set_location_assignment	PIN_J15	-to sram_ctrl_addr[9]
set_location_assignment	PIN_T6	-to sram_ctrl_addr[10]
set_location_assignment	PIN_R5	-to sram_ctrl_addr[11]
set_location_assignment	PIN_T5	-to sram_ctrl_addr[12]
set_location_assignment	PIN_R4	-to sram_ctrl_addr[13]
set_location_assignment	PIN_T4	-to sram_ctrl_addr[14]
set_location_assignment	PIN_T14	-to sram_ctrl_addr[15]
set_location_assignment	PIN_R14	-to sram_ctrl_addr[16]
set_location_assignment	PIN_T15	-to sram_ctrl_addr[17]

set_location_assignment	PIN_L13	-to sram_dq[0]
set_location_assignment	PIN_K12	-to sram_dq[1]
set_location_assignment	PIN_R16	-to sram_dq[2]
set_location_assignment	PIN_P15	-to sram_dq[3]
set_location_assignment	PIN_P16	-to sram_dq[4]
set_location_assignment	PIN_N15	-to sram_dq[5]
set_location_assignment	PIN_N16	-to sram_dq[6]
set_location_assignment	PIN_L14	-to sram_dq[7]
set_location_assignment	PIN_R6	-to sram_dq[8]
set_location_assignment	PIN_T7	-to sram_dq[9]
set_location_assignment	PIN_R7	-to sram_dq[10]
set_location_assignment	PIN_T10	-to sram_dq[11]
set_location_assignment	PIN_R10	-to sram_dq[12]
set_location_assignment	PIN_T11	-to sram_dq[13]
set_location_assignment	PIN_R11	-to sram_dq[14]
set_location_assignment	PIN_T12	-to sram_dq[15]

####################debug##########################
#set_location_assignment PIN_J1 -to debug_led
#set_location_assignment PIN_G5 -to debug_carrier

